package server.db;
import java.sql.Connection;
import java.sql.SQLException;

abstract class DBAdapter_abstract {
	protected DbConfig config;
	public DBAdapter_abstract() {
		config = DbConfig.getInstance();
	}
	abstract public Connection getConnection() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException;
}

public class DbAdapter extends DBAdapter_abstract{
	@Override
	public Connection getConnection() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {
		return null;
	}
}
